/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-03-06 11:36:19
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-03-06 11:43:38
 * @FilePath: \盐师22Git仓库\day09\TCircle.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
    
package day09;

public class TCircle extends Point {
    //水平半径
    private int xr;
    //竖直半径
    private int yr;

    //构造器
    public TCircle(){}
    public TCircle(int x, int y, int xr,int yr){
        super(x,y);
        this.xr = xr;
        this.yr = yr;
    }
    @Override
    public void show(){
        System.out.println("椭圆x："+ x + " y:" + y + " xr: "+ xr+ " yr:" +yr );
    }
}
